#表示狗的属性
dog1_name = '大黄'
dog1_height = 0.7
dog1_blood = 1.0
dog1_power = 0.1

dog2_name = '二黑'
dog2_height = 0.7
dog2_blood = 1.0
dog2_power = 0.2


#dog1攻击dog2
print('dog1 attacking dog2')
dog2_blood = dog2_blood - dog1_power

#dog2攻击dog1
print('dog2 attacking dog1')
dog1_blood = dog1_blood - dog2_power

